package com.demo.Controller;

import org.springframework.web.bind.annotation.*;

@RestController
public class TestRequest {
    @GetMapping("/testGet")
    public String testGet(){
        return "get";
    }
    @PostMapping("/testPost")
    public String testPost(){
        return "post";
    }
    @DeleteMapping("/testDelete")
    public String testDelete(){
        return "delete";
    }
    @PutMapping("/testPut")
    public String testPut(){
        return "put";
    }
}
